package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author 朱梦晨
 * @Description:
 * @date 2024-09-24
 */
@Data
public class EcologyHatchExtraRewardsSaveDTO {

    @ApiModelProperty("id")
    private Long id;

    /**
     * collectionId
     */
    @ApiModelProperty("藏品id")
    @NotNull(message = "藏品id不能为空")
    private Long collectionId;

    @ApiModelProperty("熔炼配置id")
    @NotNull(message = "熔炼配置id不能为空")
    private Long ecologyHatchId;

    /**
     * 状态：1开启/0关闭
     */
    @ApiModelProperty("状态")
    @NotNull(message = "状态不能为空")
    private Boolean status;

    @ApiModelProperty("额外规则说明")
    private String extraRuleRemarkImg;

    /**
     * 奖励配置
     */
    //@ApiModelProperty("奖励配置")
    //@Size(min = 1, message = "奖励配置不能为空")
    //private List<EcologyHatchExtraRewardsConfigSaveDTO> ecologyHatchExtraRewardsConfigSaveDTOS;

    @ApiModelProperty("奖励方式")
    private List<@Valid EcologyHatchExtraRewardsMethodConfDTO> ecologyHatchExtraRewardsMethodConfDTOS;


}


